* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Kanit', sans-serif;
  overflow-x: hidden
}





/* Fade-in effect */
.fade-in {
  opacity: 0;
  transform: translateY(20px); /* เริ่มจากตำแหน่งที่ต่ำกว่าปกติ */
  transition: opacity 1s ease-out, transform 1s ease-out; /* ปรับความเร็วของการเลื่อนและความโปร่งใส */
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0); /* เลื่อนกลับมาตำแหน่งปกติ */
}


/* แอนิเมชันสำหรับคอนเทนต์แรก */
.content1-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.content1-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

#toggle-link img {
  filter: brightness(0) invert(1); /* เปลี่ยนสีของรูปภาพเป็นสีขาว */
}




.container {
  max-width: 1140px;
  margin: 0 auto;
  padding-top: 0.5rem; /* เพิ่ม padding เพื่อเว้นช่องสำหรับ nav */
}

nav {
  padding: 1rem 2rem;
  background-color: rgba(0, 0, 0, 0.6); /* สีดำที่มีความโปร่งใส 50% */
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  border-radius: 80px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.nav-con {
  display: flex;
  align-items: center;
  padding-right: 0px; /* ลดให้ไม่มี padding ซ้ายเลย */
  margin-left: 0px; /* เพิ่ม margin-left แทนหากต้องการ */
}


.logo {
  margin-right: 2rem; /* ลดระยะห่างโลโก้ */
}

.menu {
  display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 30px; /* ระยะห่างระหว่างแต่ละเมนูและไอคอน */
}

.menu li {
  display: flex;
  align-items: center;
}

.menu li a {
  display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.menu li a img {
  width: 24px; /* ปรับขนาดไอคอนตามที่ต้องการ */
  margin-right: 5px; /* ระยะห่างระหว่างไอคอนกับข้อความ */
}


.hero03 {
  background-color: #000;
  position: relative;
  height: 100vh;
  /* ให้ความสูงเต็มหน้าจอ */
  display: flex;
  /* ใช้ Flexbox */
  justify-content: flex-start;
  /* จัดให้อยู่ตรงกลางแนวนอน */
  align-items: center;
  /* จัดให้อยู่ตรงกลางแนวตั้ง */
  text-align: left;
  /* จัดข้อความให้ชิดกลางในบรรทัด */
}

.hero03-con {
    display: flex;
}

.hero03-info {
    width: 100%;
    padding-left: 220px;
    color: #fff;
}

.hero03-info h1 {
  font-size: 4rem;
  font-weight: 400;
  color: #DF00B1;
}

.hero03-info h3 {
  font-size: 2rem;
}


.hero03-info p {
    margin: 1rem 0;
    white-space: normal; /* อนุญาตให้ตัดบรรทัด */
  overflow-wrap: break-word; /* ตัดคำที่ยาวเกิน */
  max-width: 500px; /* กำหนดความกว้างสูงสุดของข้อความ */
}

.hero03-info .hero03-btn {
    display: inline-block;
    background-color: #DF00B1;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 18px;
    text-decoration: none;
}

.hero03-btn {
  display: inline-block;
  background-color: #DF00B1;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 18px;
  text-decoration: none;
}

#openPopupBtnFooter {
  text-decoration: none !important;
}



.hero03-img {
    position: relative;
    width: 100%; /* ใช้พื้นที่เต็ม */
    max-width: 600px; /* ขยายความกว้างสูงสุดของวิดีโอให้ใหญ่ขึ้น */
    height: auto;
    margin: 0 auto; /* จัดให้อยู่ตรงกลาง */
  }
  
  .background-video2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* หรือคุณสามารถลองใช้ contain หากไม่ต้องการครอบตัด */
    z-index: 0;
    filter: brightness(50%); 
  }


/* Popup */
.popup {
  color: #fff;
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.popup-content {
  background-color: #000;
  margin: 0 auto;
  padding: 40px;
  border-radius: 15px;
  /* เพิ่มความโค้งให้กรอบ */
  width: 80%;
  max-width: 600px;
  text-align: center;
}

.popup-content h2 {
  font-weight:400; /* หรือ 400 ขึ้นไป */
}


.popup-content button {
  background-color: #DF00B1;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  width: 100%;
  /* ให้ปุ่มกินพื้นที่ container */
  max-width: 300px;
  /* ขนาดสูงสุดของปุ่ม */
  margin-bottom: 15px;
}

.popup-content textarea {
  width: 100%;
  /* ให้ textarea กินพื้นที่เต็ม */
  height: 40px;
  /* กำหนดความสูงให้เหมือนกับ input */
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 25px;
  /* เพิ่มความโค้งให้เหมือนกับ input */
  box-sizing: border-box;
  resize: none;
  /* ปิดการยืดหดของ textarea */
  font-size: 16px;
  /* ปรับขนาดตัวอักษร */
  background-color: #f9f9f9;
  /* สีพื้นหลังเหมือนกับ input */
  color: #333;
  /* สีตัวอักษรเหมือนกับ input */
  overflow: hidden;
  /* ปิดการแสดง scroll bar */
}

.service-label {
  display: block;
  font-weight: regular;
  margin-bottom: 10px; /* เพิ่มช่องว่างระหว่าง label กับ checkbox */
  font-size: 18px;
  color: #fff; /* หรือสีอื่นที่คุณต้องการ */
  padding-left: 10px;
  padding-bottom: 10px;
}

.form-group {
  display: flex;
  flex-direction: column; /* จัดวางเนื้อหาภายใน form-group ให้เป็นแนวตั้ง */
  align-items: flex-start; /* จัดข้อความและ checkbox ให้อยู่ซ้าย */
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: regular;
  font-family: 'Kanit', sans-serif;
  font-size: 14px;
  color: #8E8B8B;
}

.form-group2 label {
  display: block;
  margin-bottom: 5px;
  font-weight: regular;
  color: #fff;
  font-family: 'Kanit', sans-serif;
  font-size: 14px;
  text-align: left; 
  line-height: 1.5;
}

.form-group input,
.form-group textarea,
/* สไตล์ทั่วไปสำหรับทุก dropdown */
.form-group select {
  width: 100%;
  padding: 10px;
  border-radius: 25px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  font-family: 'Kanit', sans-serif;
  appearance: none;
  background-color: white;
  color: #8E8B8B;
}

/* สไตล์เฉพาะสำหรับ dropdown ที่มีลูกศร */
.dropdown-with-arrow {
  padding-right: 40px; /* เพิ่มพื้นที่ด้านขวาให้ลูกศร */
  background: url('Chevron\ down.png') no-repeat right 10px center;
  background-size: 15px; /* ขนาดลูกศร */
}

.popup-content button {
  background-color: #DF00B1;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  width: 100%;
  /* ทำให้ปุ่มกว้างเท่ากับ container */
  max-width: 300px;
  /* กำหนดขนาดสูงสุด */
  margin-bottom: 15px;
  /* เพิ่มช่องว่างระหว่างปุ่ม */
}

.form-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  /* เพิ่มช่องว่างระหว่างฟอร์ม */
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
  margin-right: 10px;
}

.form-group:last-child {
  margin-right: 0;
}

input[type="checkbox"] {
  display: none;
  /* ซ่อน checkbox เดิม */
}

input[type="checkbox"]+label img {
  cursor: pointer;
  /* ให้มี cursor แบบ pointer เมื่อ hover */
}

input[type="checkbox"]:checked+label img {
  border: 2px solid #DF00B1;
  /* ใส่กรอบให้กับรูปที่เลือก */
}



.checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.checkbox-group label {
  margin-left: 10px; /* เพิ่มช่องว่างระหว่าง checkbox กับ label */
  white-space: nowrap; /* บังคับให้ข้อความอยู่ในบรรทัดเดียว */
}

.custom-checkbox {
  display: none; /* ซ่อน checkbox ดั้งเดิม */
}

.checkbox-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  cursor: pointer;
}

.checkbox-container {
  display: flex;
  flex-wrap: wrap; /* ให้ checkbox ที่เหลือขยับขึ้นมาข้างกันถ้ามีที่ว่าง */
  gap: 30px; /* ช่องว่างระหว่างคอลัมน์ */
}

.checkbox-column {
  display: flex;
  flex-direction: column;
  width: 45%; /* กำหนดความกว้างให้ checkbox แต่ละกลุ่ม */
}

.custom-checkbox:checked + label .checkbox-icon {
  content: url('Checkbox1.png'); /* แสดงรูปภาพ "ถูก" เมื่อ checkbox ถูกเลือก */
}

button.close-btn:first-of-type {
  width: 100%; /* ให้ปุ่มยาวเต็มความกว้าง */
  padding: 8px 0;
  background-color: #DF00B1; /* สีพื้นหลัง */
  color: #fff; /* สีตัวอักษร */
  border: none; /* เอากรอบออก */
  border-radius: 25px; /* เพิ่มความโค้ง */
  margin-top: 10px;
  font-size: 1.2rem;
  cursor: pointer;
  max-width: 500px; /* เพิ่มความยาวของปุ่ม */
  font-family: 'Kanit', sans-serif;
}

button#closePopupBtn2 {
  background-color: transparent; /* ทำให้พื้นหลังโปร่งใส */
  color: #ffffff; /* สีตัวอักษร */
  font-size: 1rem;
  border: none; /* เอากรอบออก */
  cursor: pointer;
  margin-bottom: 10px;
  font-family: 'Kanit', sans-serif;
}


.services-heading {
  text-align: center;
  padding: 50px 210px;
  background-color: #000;
}

.services-heading h3 {
  color: #fff;
  font-size: 50px;
}


  .services {
    display: flex;
    justify-content: space-between;
    padding-top: 80px;
    padding-bottom: 120px;
    padding-left: 210px;
    padding-right: 210px;
    background-color: #000; /* สีพื้นหลัง */
  }
  
  .service-item {
    max-width: 300px;
    text-align: left;
    color: #fff;
  }
  
  .service-icon img {
    width: 50px; /* ปรับขนาดไอคอน */
    margin-bottom: 20px;
  }
  
  .service-content h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
  }
  
  .service-content p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: left;
  }
  
  .cta-link {
    color: #DF00B1;
    text-decoration: none;
    font-weight: 400;

  }
  
  .cta-link:hover {
    color: #fff;
    text-decoration: underline;
  }


  /** หน้า 5 */
.blog5 {
  width: 100%;
  overflow: hidden;
  background-color: #000;
  padding: 80px 20px;
}

.blog5-text h3 {
  font-size: 40px;
  color: #fff;
  text-align: center;
  padding: 30px;
  
}

.img-container {
  display: flex;
  gap: 20px;
  margin: 20px 0;
  /* ให้การเคลื่อนที่เป็นแนวนอน */
  white-space: nowrap;
}

.img-container img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
  margin-right: 10px;
  /* ปรับให้รูปภาพอยู่ในกรอบ */
}

/* แอนิเมชันสำหรับแถวที่ 1 */
@keyframes slideLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* แอนิเมชันสำหรับแถวที่ 2 */
@keyframes slideRight {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0); }
}

/* ใช้แอนิเมชันในแต่ละแถว */
.img-top {
  animation: slideLeft 35s linear infinite;
}

.img-bottom {
  animation: slideRight 35s linear infinite;
}

.img-container:hover {
  animation-play-state: paused; /* หยุดแอนิเมชันเมื่อเมาส์อยู่เหนือ */
}

/** footer */
.footer {
  background-color: #000;
  /* พื้นหลังสีดำ */
  padding: 80px 20px;
  color: #fff;
  /* สีตัวอักษรเป็นสีขาว */
}

.footer-container {
  display: flex;
  justify-content: flex-start;
  /* กระจายคอลัมน์ให้ห่างกัน */
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  /* ทำให้ตอบสนองต่อหน้าจอขนาดเล็กได้ */
}

.footer .map-container,
.footer .mail-container {
  display: flex;
  align-items: center;
  margin-bottom: 10px; /* เพิ่มระยะห่างเล็กน้อยระหว่างบรรทัด */
}

.footer .map-container img,
.footer .mail-container img {
  margin-right: 10px; /* เพิ่มระยะห่างระหว่างไอคอนกับข้อความ */
  width: 20px; /* ขนาดของไอคอน */
  height: auto;
}

.footer .mail-container a,
.footer .map-container p {
  margin: 0;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
}

.footer .mail-container a:hover {
  text-decoration: underline;
}

.footer .social-icons a {
  margin-right: 10px;
}

.footer .social-icons img {
  width: 24px;
  height: 24px;
}

.footer-column1 {
  flex: 1;
  margin: 0 20px;
  min-width: 200px;
  /* กำหนดขนาดขั้นต่ำของคอลัมน์ */
  text-align: left;
}

.footer-column1 h3 {
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: bold;
}

.footer-column1 p {
  text-align: left;
}
.footer-column1 ul {
  margin-bottom: 20px;
  font-size: 14px;
  list-style-type: none;
}

.footer-column1 a {
  color: #fff;
  text-decoration: none;
}

.footer-column1 a:hover {
  text-decoration: underline;
}



.footer-column2 {
  flex: 1;
  margin: 0 20px;
  min-width: 200px;
  /* กำหนดขนาดขั้นต่ำของคอลัมน์ */
  padding-left: 150px;
}

.footer-column2 h3 {
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: bold;
}

.footer-column2 p,
.footer-column2 ul {
  margin-bottom: 20px;
  font-size: 14px;
  list-style-type: none;
}

.footer-column2 a {
  color: #fff;
  text-decoration: none;
}

.footer-column2 a:hover {
  text-decoration: underline;
}



.footer-column3 {
  flex: 1;
  margin: 0 20px;
  min-width: 200px;
  /* กำหนดขนาดขั้นต่ำของคอลัมน์ */
  text-align: left;
}

.footer-column3 h3 {
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: bold;
}

.footer-column3 p,
.footer-column3 ul {
  margin-bottom: 20px;
  font-size: 14px;
  list-style-type: none;
}

.footer-column3 a {
  color: #fff;
  text-decoration: none;
}

.footer-column3 a:hover {
  text-decoration: underline;
}




.cta-btn {
  background-color: #e6007e;
  /* สีปุ่มเป็นสีชมพู */
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 18px;
  cursor: pointer;
  text-transform: uppercase;
  font-family: 'Kanit', sans-serif;
}

.cta-btn:hover {
  background-color: #d4006f;
  /* เปลี่ยนสีเมื่อ hover */
}

.social-icons a {
  color: #fff;
  margin-right: 10px;
  font-size: 20px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 12px;
  color: #fff;
}








/* ซ่อนเมนูสำหรับหน้าจอเล็ก */
@media (max-width: 768px) {

  body {
    overflow-x: hidden; /* ป้องกันการเลื่อนในแนวนอน */
}
/* ปรับขนาดของวิดีโอหรือภาพให้พอดีกับหน้าจอมือถือ */
.hero-img {
    width: 100%;
    margin: 0 auto;
}
.background-video {
    width: 100%;
    height: auto;
}

  html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* ซ่อนส่วนที่เกินออกทางด้านข้างบนหน้าจอโทรศัพท์ */
  }

  nav {
      padding: 1rem 2rem;
      top: 0;
      left: 0;
      background-color: #000;
      width: 100%; /* ให้ครอบคลุมความกว้างของหน้าจอ */
      border-radius: 0;
      z-index: 1000;
      transform: translateX(0); /* เอา translateX ออกเพื่อให้อยู่ชิดขอบซ้าย */
  }

  .nav-con {
      display: flex;
      justify-content: flex-start; /* จัดเนื้อหาไปทางซ้าย */
      align-items: center; /* ให้อยู่ตรงกลางแนวตั้ง */
      padding-left: 1rem; /* เพิ่ม padding เพื่อขยับโลโก้ออกจากขอบซ้าย */
      width: 100%;
  }

  .logo {
      margin-left: 0px;
      /* ขยับโลโก้ให้อยู่ห่างจากขอบซ้าย */
  }

  .menu {
      display: none;
      /* ซ่อนเมนู */
      flex-direction: column;
      background-color: #000;
      position: absolute;
      top: 60px;
      left: 0;
      width: 100%;
      z-index: 1000;
      align-items: self-start;
      line-height: 1.0; /* ปรับให้ใกล้กันมากขึ้น */
      padding-top: 10px;
      padding-bottom: 20px;
  }

  .menu li {
      padding-left: 45px; /* ปรับขนาดตามความต้องการ */
    }

  .menu.active {
      display: flex;
      /* แสดงเมนูเมื่อคลิกไอคอน */
  }


  /* Hamburger icon */
  .hamburger {
      position: absolute;
      right: 20px;
      /* บังคับให้แฮมเบอร์เกอร์อยู่ชิดซ้าย */
      top: 50%;
      /* ปรับให้แฮมเบอร์เกอร์อยู่กึ่งกลางในแนวตั้ง */
      transform: translateY(-50%);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 25px;
      cursor: pointer;
  }

  .hamburger span {
      display: block;
      width: 30px;
      height: 3px;
      background-color: #fff;
      margin: 4px 0;
      transition: all 0.3s ease-in-out;
  }

  .container {
    width: 100%;
    display: flex;
    flex-direction: column; /* จัดเรียงเนื้อหาให้เป็นแนวตั้ง */
    justify-content: center;
    align-items: center;
  }






  /********************************************************************************/



  /* สำหรับพื้นหลังและเลย์เอาต์หลัก */
.hero03 {
  height: 100vh; /* ให้กินพื้นที่ทั้งหน้าจอ */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center; /* ให้อยู่ตรงกลางทั้งแนวตั้งและแนวนอน */
    margin: 0;
    padding: 0;
}

.container03 {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center; /* ให้อยู่ตรงกลางทั้งแนวตั้งและแนวนอน */
    padding: 0;
    margin: 0;
}

.hero03-con {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0 20px; /* ตรวจสอบค่า padding */
  margin: 0; /* ลด margin ถ้ามี */

}

/*****************************content 1*********************************************/

.hero03-info {
  max-width: 600px; /* ให้ข้อความมีความกว้างไม่เกินนี้ */
    margin: 0 auto; /* ให้ข้อความอยู่ตรงกลาง */
    padding: 0 20px; /* เพิ่ม padding ข้างเพื่อให้อ่านง่ายขึ้น */
    text-align: center;
}

.hero03-info h1 {
  font-family: 'Kanit', sans-serif;
  font-size: 48px !important;
  /* ขนาดตัวอักษรใหญ่ขึ้น */
  font-weight: 400 !important;
  /* ปรับน้ำหนักให้บาง */
  color: #DF00B1;
  margin: 0; /* ปรับ margin ให้เหมาะสม */
    padding: 0;
  
}

.hero03-info h3 {
  font-family: 'Kanit', sans-serif;
  font-size: 24px !important;
  /* ขนาดตัวอักษรใหญ่ขึ้น */
  font-weight: 500 !important;
  /* ปรับน้ำหนักให้บาง */
  color: #ffffff;
  line-height: 1.2;
  /* เพิ่มระยะห่างระหว่างบรรทัด */
  margin-bottom: 20px; /* ปรับระยะห่างด้านล่างของ h3 */
    padding: 0;
  
}

.hero03-info p {
  font-family: 'Kanit', sans-serif;
  font-size: 1rem !important;
  /* ขนาดตัวอักษรใหญ่ขึ้น */
  font-weight: 300 !important;
  /* ปรับน้ำหนักให้บาง */
  color: #ffffff;
  text-align: center;
  margin: 0; /* ปรับ margin ให้เหมาะสม */
  padding: 0;
}

/* Popup */
.popup {
  width: 100%; /* ตั้งค่าให้กว้าง 90% ของหน้าจอ */
  max-width: 100%; /* กำหนดความกว้างสูงสุด */
  max-height: 100%; /* กำหนดความสูงสูงสุด */
  overflow-y: auto; /* เปิดการเลื่อนแนวตั้ง */
  padding: 0px; /* เพิ่ม padding ภายใน */
  margin: 0 auto; /* จัดให้กลาง */
  background-color: #000; /* เพิ่มพื้นหลังให้ popup */
  border-radius: 10px; /* มุมโค้ง */
}

/* ซ่อน scrollbar */
.popup::-webkit-scrollbar {
  display: none; /* ซ่อน scrollbar ใน Webkit-based browsers (Chrome, Safari) */
}

/* Firefox */
.popup {
  scrollbar-width: none; /* ซ่อน scrollbar ใน Firefox */
}

.popup-content {
  background-color: #000;
  margin: 0 auto;
  padding: 40px;
  border-radius: 15px;
  /* เพิ่มความโค้งให้กรอบ */
  width: 100%;
  max-width: 900px;
  text-align: center;
}

.popup-content button {
  background-color: #DF00B1;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  width: 100%;
  /* ให้ปุ่มกินพื้นที่ container */
  max-width: 300px;
  /* ขนาดสูงสุดของปุ่ม */
  margin-bottom: 15px;
}

.popup-content textarea {
  width: 100%;
  /* ให้ textarea กินพื้นที่เต็ม */
  height: 40px;
  /* กำหนดความสูงให้เหมือนกับ input */
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 25px;
  /* เพิ่มความโค้งให้เหมือนกับ input */
  box-sizing: border-box;
  resize: none;
  /* ปิดการยืดหดของ textarea */
  font-size: 16px;
  /* ปรับขนาดตัวอักษร */
  background-color: #f9f9f9;
  /* สีพื้นหลังเหมือนกับ input */
  color: #333;
  /* สีตัวอักษรเหมือนกับ input */
  overflow: hidden;
  /* ปิดการแสดง scroll bar */
}
.checkbox-container {
  display: flex; /* ใช้ flexbox สำหรับการจัดเรียง */
  flex-direction: column; /* ให้ checkbox เรียงเป็นแนวตั้ง */
  justify-content: space-between; /* กระจายพื้นที่ระหว่างคอลัมน์ */
  width: 100%; /* ให้คอนเทนเนอร์กินพื้นที่เต็ม */
  flex-wrap: wrap; /* ให้ checkbox ที่เหลือขยับขึ้นมาข้างกันถ้ามีที่ว่าง */
  gap: 3px; /* ปรับช่องว่างระหว่างคอลัมน์ให้เล็กลง */
}

.checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 2px; /* ลดระยะห่างระหว่าง checkbox */
}

.checkbox-group label {
  margin-left: 5px; /* ลดระยะห่างระหว่าง checkbox กับ label */
  white-space: nowrap; /* ให้ข้อความอยู่ในบรรทัดเดียว */
}

/********************************ปุ่ม popup*************************************************/

.hero03-btn {
  display: inline-block;
  background-color: #DF00B1;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 18px;
  text-decoration: none;
  margin-top: 20px;
}

#openPopupBtnFooter {
  text-decoration: none !important;
}


.background-video2 {

  height: 100vh; /* ให้สูงเต็มหน้าจอ */
      object-fit: cover; /* ครอบคลุมพื้นที่ */
}

/*****************************************บริการของเรา*******************************************/


.services-heading {
  flex-direction: column;
  text-align: center;
  padding-top: 50px;
  padding-bottom: 20px;
  padding-left: 50px;
  padding-right: 50px;
  background-color: #000;
}

.services-heading h3 {
  color: #fff;
  font-size: 46px;
  text-align: center;
}


  .services {
    flex-direction: column;
    display: flex;
    padding: 50px;
    background-color: #000; /* สีพื้นหลัง */
  }
  
  .service-item {
    max-width: 300px;
    text-align: left;
    color: #fff;
  }

  .service-content p {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: left;
  }
  
  .service-icon img {
    width: 50px; /* ปรับขนาดไอคอน */
    margin-bottom: 20px;
    margin-top: 20px;
  }
  .cta-link {
    color: #DF00B1;
    text-decoration: none;
    font-weight: 400;

  }
  
  .cta-link:hover {
    color: #fff;
    text-decoration: underline;
  }

  .img-container {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    /* ให้การเคลื่อนที่เป็นแนวนอน */
    white-space: nowrap;
}

.img-container img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 15px;
    margin-right: 10px;
    /* ปรับให้รูปภาพอยู่ในกรอบ */

}

.footer-column2 {
  flex: 1;
  margin: 0 20px;
  min-width: 200px;
  /* กำหนดขนาดขั้นต่ำของคอลัมน์ */
  padding-left: 0px;
}

.footer-column2 h3 {
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: bold;
}

.footer-column2 p,
.footer-column2 ul {
  margin-bottom: 20px;
  font-size: 14px;
  list-style-type: none;
}

.footer-column2 a {
  color: #fff;
  text-decoration: none;
  line-height: 2; /* ระยะห่างระหว่างบรรทัด */
}

.footer-column2 a:hover {
  text-decoration: underline;
}

}

/* สำหรับ iPad Mini และ iPad ขนาดกลาง (iPad Air, iPad 9th Gen, 10th Gen) */
@media (min-width: 768px) and (max-width: 1023px) {
  body {
      font-family: 'Kanit', sans-serif;
      overflow-x: hidden; /* ป้องกันการเลื่อนในแนวนอน */
  }

  .hamburger span {
      display: block; /* แสดงแถบแฮมเบอร์เกอร์ */
  }
  .services {
    display: flex;
    justify-content: center;
    padding-top: 80px;
    padding-bottom: 120px;
    padding-left: 250px;
    padding-right: 210px;
    background-color: #000; /* สีพื้นหลัง */
  }
}




/* สำหรับ iPad Pro 11-inch และ 12.9-inch */
@media (min-width: 1024px) and (max-width: 1366px) {

  body {
      font-family: 'Kanit', sans-serif;
      overflow-x: hidden; /* ป้องกันการเลื่อนในแนวนอน */
  }

  .hamburger span {
      display: none; /* ซ่อนแถบแฮมเบอร์เกอร์สำหรับ iPad Pro */
  }

    
  .menu li a {
    font-size: 15px;
}

.menu li a img {
  width: 20px; /* ปรับขนาดไอคอนตามที่ต้องการ */
  margin-right: 3px; /* ระยะห่างระหว่างไอคอนกับข้อความ */
}
    
    .services {
      padding-left: 50px;
      padding-right: 50px;
    }
    
    .service-item {
      max-width: 250px;
    }
    
}